/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package systole.view.wizard;

import javax.swing.JPanel;

/**
 *
 * @author jmj
 */
public abstract class PageController {

    public abstract String validatePage();

    public boolean canDoFinish() {
        return false;
    }

    public boolean canViewSummary() {
        return false;
    }

    public abstract String getKey();

    public abstract boolean hasNext();

    public abstract boolean hasLast();

    public abstract JPanel getPage();

    public abstract boolean pageInitialized();

    public abstract WizardResult loadResult(WizardResult result);

    public void setPreviousStepData(WizardResult result) {

    }


}
